# from rest_framework.permissions import IsAdminUser
# from rest_framework.viewsets import ReadOnlyModelViewSet
# from rest_framework.decorators import action
# from rest_framework.response import Response
# from goods.models import
# from meiduo_admin.serializers.options import SpecificationOptionSerializer
# from meiduo_admin.utils import PageNum
#
#
# class OrderInfoView(ReadOnlyModelViewSet):
#     # 指定序列化器
#     serializer_class = ReadOnlyModelViewSetSerializer
#     # 指定数据查询集
#     queryset = ReadOnlyModelViewSet.objects.all()
#     # 指定权限
#     permission_classes = [IsAdminUser]
#     # 指定分页器
#     pagination_class = PageNum
#
